// pages/map/map.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    markers:[{
      longitude: "113.016822",
      latitude: "28.14802",
      title:"title",
      iconPath:"/image/icon_API.png",
      width:50,
      height:50,
      alpha:0.5,
      rotate:45,
      callout:{
        content:"长沙民政学院",
        color:"#000000",
        display:"ALWAYS",
        fontSize:"50",
        borderRadius:5,
        padding:10,
        bgColor:"#cccccc"
      },
      content: "长沙民政学院",
      color: "#000000",
      x:50,
      y:50,
      fontSize: "50",
      borderRadius: 5,
      padding: 10,
      bgColor: "#cccccc",
      borderWidth: 2,
      borderColor: "#FF0000",

    }],

    polyline: [{
      points: [{
        longitude: "113.016822",
        latitude: "28.14802"
      },
      {
        longitude: "113.016822",
        latitude: "28.15802"
      },
      {
        longitude: "113.016822",
        latitude: "28.15802"
      }],
      color: "#000000AA",
      width: 5,
      borderWidth: 2,
      borderColor: "#FF0000",
      dottedLine: true
    }],
    circles: [
      {
        longitude: '113.016822',
        latitude: '28.12802',
        radius: 300,
        color: "#000000AA",
        fillColor: "#bbbbbb",
        strokeWidth: 2
      }, {
        longitude: '113.016822',
        latitude: '28.14802',
        radius: 300,
        color: "#000000AA",
        fillColor: "#bbbbbb",
        strokeWidth: 2
      }]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})